package com.yiji.fintech.musfinance.common.strategy.gateway;

import com.yiji.fintech.musfinance.center.base.result.ResultFacade;
import com.yiji.fintech.musfinance.common.domain.base.BaseDomain;
import com.yiji.fintech.musfinance.common.strategy.context.SendGeteWayContext;
import org.springframework.stereotype.Service;

/**
 * 发送网关
 * Created by ouwen@yiji.com} on 2017/3/28.
 */
@Service
public class SendGateWayServiceImpl implements SendGateWayService {
    @Override
    public void send(BaseDomain domain, ResultFacade result, SendGeteWayContext sendGeteWayContext) {
        //发送网关
        sendGeteWayContext.doSendGateWay(domain,result);
    }
}
